<!DOCTYPE html>
<html lang="en">


<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>更改书籍</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="../assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="../assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <script src="http://cdn.bootcss.com/echarts/3.3.2/echarts.min.js"></script>
    <link rel="stylesheet" href="../assets/css/amazeui.min.css"/>
    <link rel="stylesheet" href="../assets/css/amazeui.datatables.min.css"/>
    <link rel="stylesheet" href="../assets/css/app.css">
    <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>

</head>

<body data-type="widgets">
<script src="../assets/js/theme.js"></script>
<div class="am-g tpl-g">
    <!-- 头部 -->
    <header>
        <!-- logo -->
        <div class="am-fl tpl-header-logo">
            <a href="javascript:;"><img src="../assets/img/logo1.png" alt=""></a>
        </div>
        <!-- 右侧内容 -->
        <div class="tpl-header-fluid">
            <!-- 侧边切换 -->
            <div class="am-fl tpl-header-switch-button am-icon-list">
                    <span>

                </span>
            </div>

            <!-- 其它功能-->
            <div class="am-fr tpl-header-navbar">
                <ul>
                    <!-- 欢迎语 -->
                    <li class="am-text-sm tpl-header-navbar-welcome">
                        <a href="javascript:;">欢迎你, <span>${sessionScope.adminname}</span> </a>
                    </li>


                </ul>
                </li>

                <!-- 新提示 -->

                <!-- 退出 -->
                <li class="am-text-sm">
                    <a href="../User/userLogin.jsp">
                        <span class="am-icon-sign-out"></span> 退出
                    </a>
                </li>
                </ul>
            </div>
        </div>

    </header>
    <!-- 风格切换 -->
    <div class="tpl-skiner">
        <div class="tpl-skiner-toggle am-icon-cog">
        </div>
        <div class="tpl-skiner-content">
            <div class="tpl-skiner-content-title">
                选择主题
            </div>
            <div class="tpl-skiner-content-bar">
                <span class="skiner-color skiner-white" data-color="theme-white"></span>
                <span class="skiner-color skiner-black" data-color="theme-black"></span>
            </div>
        </div>
    </div>
    <!-- 侧边导航栏 -->
    <div class="left-sidebar">
        <!-- 用户信息 -->
        <div class="tpl-sidebar-users-panel">
            <div class="tpl-users-panel-slide-toggleable">
                <div class="tpl-users-panel-profile-picture" align="center">
                    <img src="../assets/img/user07.png" alt="">
                </div>
                <span class="users-panel-logged-in-text">
              <div align="center">
                  <i class="am-icon-circle-o am-text-success tpl-users-panel-status-icon"></i>
                  <font color="#a4ff7f" size="20">${sessionScope.adminname}</font></div>
          </span>
                <br>
                <a href="../User/updateUI.jsp" class="tpl-users-panel-action-link">
                    <span class="am-icon-pencil"></span> 账号设置</a>
            </div>
        </div>

        <!-- 菜单 -->

        <li class="sidebar-nav-heading">数据
            <%-- <span class="sidebar-nav-heading-info"> 常用页面</span></li>--%>
        <li class="sidebar-nav-link">
            <a href="javascript:;" class="sidebar-nav-sub-title active">
                <i class="am-icon-table sidebar-nav-link-logo"></i> 数据列表
                <span class="am-icon-chevron-down
                am-fr
                am-margin-right-sm
                sidebar-nav-sub-ico
                sidebar-nav-sub-ico-rotate"></span>

            </a>
            <ul class="sidebar-nav sidebar-nav-sub" style="display: block;">
                <li class="sidebar-nav-link">
                    <a href="/UserListServlet">
                        <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 用户列表
                    </a>
                </li>

                <li class="sidebar-nav-link">
                    <a href="table-list-img.html">
                        <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 管理员列表
                    </a>
                </li>
                <li class="sidebar-nav-link">
                    <a href="/BookListServlet?adminname=${sessionScope.adminname}" class="sub-active">
                        <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 书籍列表
                    </a>
                </li>
            </ul>
        </li>
        <li class="sidebar-nav-link">

        </li>
        <li class="sidebar-nav-link">
            <a href="../User/userLogin.jsp">
                <i class="am-icon-key sidebar-nav-link-logo"></i> 登录其他账户
            </a>
        </li>


        </ul>
    </div>
    <!-- 内容区域 -->
    <div class="tpl-content-wrapper">

        <div class="container-fluid am-cf">
            <div class="row">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                    <div class="page-header-heading"><span class="am-icon-home page-header-heading-icon"></span>更改书籍
                    </div>

                </div>

            </div>

        </div>

        <div class="row-content am-cf">


            <div class="row">

                <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                    <div class="widget am-cf">
                        <div class="widget-head am-cf">
                            <div class="widget-title am-fl">更改书籍</div>
                            <div class="widget-function am-fr">
                                <a href="javascript:;" class="am-icon-cog"></a>
                            </div>
                        </div>
                        <div class="widget-body am-fr">

                            <form class="am-form tpl-form-line-form" action="/UpdateBookServlet">
                                <input type="hidden" name="bookid" value="${requestScope.bookInfo.bookid}">
                                <div class="am-form-group">
                                    <label for="user-name" class="am-u-sm-3 am-form-label">书名
                                        <span
                                                class="tpl-form-line-small-title">Bookname</span></label>
                                    <div class="am-u-sm-9">
                                        <input type="text" name="bookname" class="tpl-form-input"
                                               value="${requestScope.bookInfo.bookname}">

                                    </div>
                                </div>


                                <div class="am-form-group">
                                    <label class="am-u-sm-3 am-form-label"> 类别<span
                                            class="tpl-form-line-small-title">Category</span></label>
                                    <div class="am-u-sm-9">
                                        <input type="text" name="category" class="tpl-form-input" id="user-name"
                                               value="${requestScope.bookInfo.category}"
                                               disabled>

                                    </div>
                                </div>

                                <div class="am-form-group">
                                    <label class="am-u-sm-3 am-form-label">作者 <span
                                            class="tpl-form-line-small-title">Author</span></label>
                                    <div class="am-u-sm-9">
                                        <input type="text" name="author" value="${requestScope.bookInfo.author}"
                                               disabled>
                                    </div>
                                </div>


                                <div class="am-form-group">
                                    <label for="user-intro" class="am-u-sm-3 am-form-label">存量
                                        <span
                                                class="tpl-form-line-small-title">Number</span></label>
                                    <div class="am-u-sm-9">
                                        <div class="tpl-switch">
                                            <input type="text" name="number"
                                                   class="ios-switch bigswitch tpl-switch-btn"
                                                   value="${requestScope.bookInfo.number}" checked="">
                                            <div class="tpl-switch-btn-view">
                                                <div>
                                                </div>
                                            </div>
                                        </div>

                                    </div>
                                </div>

                                <div class="am-form-group">
                                    <label for="user-intro" class="am-u-sm-3 am-form-label"></label>
                                    <div class="am-u-sm-9">
                                        <textarea class="" rows="10" id="user-intro" placeholder=""></textarea>
                                    </div>
                                </div>

                                <div class="am-form-group">
                                    <div class="am-u-sm-9 am-u-sm-push-3">
                                        <button type="submit" class="am-btn am-btn-primary tpl-btn-bg-color-success ">
                                            提交
                                        </button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>


        </div>
    </div>
</div>
</div>
<script src="http://cdn.bootcss.com/amazeui/2.7.2/js/amazeui.min.js"></script>
<script src="../assets/js/amazeui.datatables.min.js"></script>
<script src="../assets/js/dataTables.responsive.min.js"></script>
<script src="../assets/js/app.js"></script>

</body>

</html>